package com.coursehub.exercise.service;

import com.coursehub.exercise.entity.WrongQuestionBank;

import java.util.List;

public interface WrongQuestionBankService {
    WrongQuestionBank create(String wrongQuestionBankId, String userId, String courseId);
    void delete(String wrongQuestionBankId);
    List<WrongQuestionBank> listByUser(String userId);
    List<WrongQuestionBank> listByUserAndCourse(String userId, String courseId);

    void addQuestion(String wrongQuestionBankId, String questionId);
    void removeQuestion(String wrongQuestionBankId, String questionId);
    List<String> listQuestionIds(String wrongQuestionBankId);
}


